﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using BusinessComponents;

namespace WaterfrontLodge.WebForms.RoomTypeMgt
{
    public partial class RoomTypeAdd2 : RoomTypeAddController
    {
        protected void Page_Load(object sender, EventArgs e)
        {

        }

        override
        protected string getCurView()
        {
            return "RoomTypeAdd2";
        }

        protected void Button1_Click(object sender, EventArgs e)
        {
            string remarks = txtRemarks.Text.Trim();

            RoomType rt = getRoomTypeTransferObject();
            rt.Remarks = remarks;

            Response.Redirect(getNextView());
        }
    }
}